home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
util
/
cli
/
reboot.lha
/
ColdReboot.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-11-21
|
1KB
|
28 lines
/**********************************************************************/
/* MF WBTools reboot.c - perform an immediate cold reboot */
/* */
/* USAGE: ColdReboot - Reboots without confirmation */
/* */
/* 13/03/1994 Max Francis */
/**********************************************************************/
#include <exec/exec.h>
#include <stdio.h>
/* Formatted version string for the 2.0 VERSION command */
UBYTE *vers = "\0$VER: MF Reboot v1.5";
main( int argc, char *argv[] )
{
if( argc != 1)
{
printf("MF ColdReboot\nPerform an immediate cold reboot of the system\n");
printf("USAGE: ColdReboot (no arguments)\n");
printf("(equivalent of <CTRL><A><A>)\n\n");
}
else
{
ColdReboot(); /* No turning back now! */
}
}